import request from '@/utils/request'

// 反向地理编码
export function reverseGeocode(params) {
  return request.get('/api/geocode/reverse', { params })
}

// IP定位
export function ipGeocode(params) {
  return request.get('/api/geocode/ip', { params })
}

// 获取完整地址
export function fullLocation(params) {
  return request.get('/api/geocode/fullLocation', { params })
}

// 地址查询
export function addressGeocode(params) {
  return request.get('/api/geocode/address', { params })
} 